import 'package:flutter/material.dart';
import 'package:tu_home/common/card.dart';
import 'package:tu_home/common/head.dart';

class Index extends StatelessWidget {
  const Index({super.key});

  @override
  Widget build(BuildContext context) {
    return  Container(
      child: Column(
        children: [
          Head(),
          Container(
            padding: EdgeInsets.all(20),
            child: Wrap(
              runSpacing: 10,
              children: <Widget>[
                MyCard('服务',color: Colors.white,height: 50,),
                MyCard('护理师',color: Colors.white,height: 50,icons: Icons.people,),
                MyCard('项目',color: Colors.white,height: 50,icons: Icons.medical_services,),
                MyCard('商品',color: Colors.white,height: 50,icons: Icons.shopping_bag_outlined,),
              ],
            ),
          ),
        ],
      ),
    );
  }
}


